home *** CD-ROM | disk | FTP | other *** search
/ Mac OS 9 Serial Number Archive / SN Archive 2023.11.04.toast / Cracking Texts / Hackintosh Bible v1.4 / Hackintosh Bible v1.4.rsrc / TEXT_168.txt < prev    next >
Encoding:
Text File  |  1997-05-07  |  4.9 KB  |  100 lines

  1. Stuffit is the universal tool for compressing/expanding files to transmit via the net
  2.  
  3. Sometimes some files are so big that you even have to split them in segments to send them
  4.  
  5. Normally if the files are transmitted correctly, StuffitExpander should join the files and start to expand.
  6.  
  7. But, according to Murphy's Law, there's always a file who lost its type/creator or who is damaged and Stuffit Expander just quits instead of expanding it.
  8.  
  9. Will you have to redownload the 57 13,5MB-segments of 'Killer-3D-First-Person-Shooter-VII:the-sequel-of-the-revenge-of-the-son'?
  10.  
  11. Nope, there HAS to be another way...
  12.  
  13. And what if it is the original files that are damaged?
  14.  
  15. √ä√ä√ä√ä√ä√ä√ä√ä√äStuffit Hell HandBook
  16.  
  17.  
  18. A little overview of the problem
  19.  
  20. All Macintosh file have 2 very important attributes : Type and Creator.
  21. These are 2 4-character codes that allow the finder and all other applications to recognize the kind of files they are dealing with.
  22.  
  23. The Type code represent the kind of the file, here are some examples:
  24.  
  25.                     TEXT: a plain text file
  26.                     ttro : a SimpleText read only file (like this one)
  27.                     APPL: an application
  28.                     PICT: an image, in the Pict Format
  29.                     JPEG: an image, JPEG format
  30.                     SITD: a Stuffit Archive
  31.                     MooV: a QuickTime Movie
  32.                     hdrv: a ShrinkWrap Disk-Image
  33.  
  34. and so on... Note that capitalization counts and that ANY character can be used
  35.  
  36.  
  37. The Creator Code is the signature of the program that created the file.
  38. Examples:
  39.                     ttxt: SimpleText
  40.                     SIT!: Stuffit
  41.                     WPC2: WordPerfect 3.0
  42.                     Wrap : ShrinkWrap
  43.                     GKON: Graphic Converter
  44.  
  45. So, a Graphic Converter JPEG file would have a Type:JPEG and a Creator:GKON...
  46. Also, application are of type APPL and bear their own Signature (Stuffit is APPL/SIT!), while unknown (imported) files are of type ???? and creator ????.
  47.  
  48.  
  49. Now, what can happen...                    
  50.  
  51. Basically, Stuffit Expander is a pretty lame program, it doesn't really check the content of the file, but only its extension (.sit, .bin, .hqx) and its type (Text,Stuffit Archive,...), that is, the thinks that are most likely to be altered by bad transfers, rendering the file useless.
  52.  
  53. So, basically you only need to change the Type/Creator to their normal value...How do you do that?
  54.  
  55. Well, the most common tool is ResEdit, but if you're not experienced with it, you might find it easier to use FileBuddy. You can get it on InfoMac or on any good shareware collection
  56.  
  57. Just Drag the file on FileBuddy and the Info window should pop up. 
  58. In the upper left corner is the file icon view. In the bottom right corner are two fields labelled Type and Creator that display, you guessed it, the Type and Creator of the file. Near those field are 2 pop up menus that will store the most oftne used values. They should be empty by now but you'll find them useful later.
  59.  
  60.  
  61. The Stuffit Type/Creators
  62.  
  63. Single-File Archives = SITD / SIT!
  64.  
  65. Segmented Archives:
  66.  
  67. Segment 1 : Seg1 / SIT!
  68. Segment 2 : Seg2 / SIT!
  69. Segment 3 : Seg3 / SIT!
  70. Segment 4 and above : SegN / SIT!
  71.  
  72. Now when you unstuff the multisegment archive it should ask you for a destination for the file, before you click OK. Don't change the file name. It will now join the file into a one single file.
  73.  
  74. If the joined file ends with .sit, it should also appear as a Stuffit archive (SITD / SIT!) and be automatically unstuffed.
  75.  
  76. But it may happen that the joined file isn't a stuffit file. That is, the file had just been segmented, without compression (large disk-images or single-file installers are often transferred that way, because compression wouldn't be effective and would waste time)
  77.  
  78. Normally Stuffit should join the file and leave you with an disk image or an application, but sometimes, it joins the file but doesn't restore the correct Type / Creator, so the file in unusable.
  79.  
  80. If it happens, check the file type/ creator with FileBuddy. It might be that the Finder didn't notice that the file had its type/creator changed by Stuffit (especially if the file was unstuffed on the desktop). If the file seems to have normal attributes but the wrong icon (like APPL type with a blank page icon) just retype the same type in the FileBuddy window and click save, FileBuddy should update the Finder database correctly and give the file its correct icon.
  81.  
  82. If the file attributes are wrong (most likely ???? / ????), you can only guess what they should be. Just experiment, ask yourself what kind of file it's likely to be. Disk Image should be hdrv / Wrap (shrinkwrap)
  83.  .sit files should be SITD / SIT!, for applications you can try APPL / ????.
  84.  
  85. One last thing. You can easily check the attributes of a file with FileBuddy so if you don't know what the codes are but have another file that is correct, just check.
  86.  
  87. Don't forget to look at the FileBuddy manual, too :)
  88.  
  89.  
  90. A Final Word
  91.  
  92. Well, that handbook was written quite fast because some people needed it badly and I was tired of explaining. II didn't even checked my spelling  :)
  93.  
  94. Anyway, I hope this helps
  95.  
  96. '//izar¬∂ 11/28/96
  97.  
  98.  
  99.  
  100.